<template>
  <view class="w_100 mb-10 fixed-bottom">
    <slot>
      <button class="btn_class" style="width: 80%;" @click="click">{{text}}</button>
    </slot>
  </view>
</template>
<script>
export default {
  name: "y-btn-bottom",
  props:{
    text:{
      type:String,
      default:''
    }
  },
  data(){
    return {

    }
  },
  methods:{
    click(){
      this.$emit('click')
    }
  }
}
</script>



<style scoped lang="scss">

</style>
